Optimal. Leaf size=20 \[ \frac {\cos (e+f x) \sin ^{m+1}(e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.040, Rules used = {3011} \[ \frac {\cos (e+f x) \sin ^{m+1}(e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3011
Rubi steps
\begin {align*} \int \sin ^m(e+f x) \left (1+m-(2+m) \sin ^2(e+f x)\right ) \, dx &=\frac {\cos (e+f x) \sin ^{1+m}(e+f x)}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.18, size = 107, normalized size = 5.35 \[ \frac {\cos (e+f x) \sin ^{m+1}(e+f x) \left ((m+3) \, _2F_1\left (\frac {1}{2},\frac {m+1}{2};\frac {m+3}{2};\sin ^2(e+f x)\right )-(m+2) \sin ^2(e+f x) \, _2F_1\left (\frac {1}{2},\frac {m+3}{2};\frac {m+5}{2};\sin ^2(e+f x)\right )\right )}{f (m+3) \sqrt {\cos ^2(e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 24, normalized size = 1.20 \[ \frac {\sin \left (f x + e\right )^{m} \cos \left (f x + e\right ) \sin \left (f x + e\right )}{f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int -{\left ({\left (m + 2\right )} \sin \left (f x + e\right )^{2} - m - 1\right )} \sin \left (f x + e\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 5.20, size = 0, normalized size = 0.00 \[ \int \left (\sin ^{m}\left (f x +e \right )\right ) \left (1+m -\left (2+m \right ) \left (\sin ^{2}\left (f x +e \right )\right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.41, size = 248, normalized size = 12.40 \[ -\frac {{\left (\left (-1\right )^{\frac {1}{2} \, m} e^{\left (\frac {1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} + 2 \, \cos \left (f x + e\right ) + 1\right ) + \frac {1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} - 2 \, \cos \left (f x + e\right ) + 1\right )\right )} \sin \left (-{\left (f x + e\right )} {\left (m + 2\right )} + m \arctan \left (\sin \left (f x + e\right ), \cos \left (f x + e\right ) + 1\right ) - m \arctan \left (\sin \left (f x + e\right ), -\cos \left (f x + e\right ) + 1\right )\right ) - \left (-1\right )^{\frac {1}{2} \, m} e^{\left (\frac {1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} + 2 \, \cos \left (f x + e\right ) + 1\right ) + \frac {1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} - 2 \, \cos \left (f x + e\right ) + 1\right )\right )} \sin \left (-{\left (f x + e\right )} {\left (m - 2\right )} + m \arctan \left (\sin \left (f x + e\right ), \cos \left (f x + e\right ) + 1\right ) - m \arctan \left (\sin \left (f x + e\right ), -\cos \left (f x + e\right ) + 1\right )\right )\right )} 2^{-m - 2}}{f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 13.74, size = 22, normalized size = 1.10 \[ \frac {{\sin \left (e+f\,x\right )}^m\,\sin \left (2\,e+2\,f\,x\right )}{2\,f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________